package com.bank.mapper;

import com.bank.entity.Bill;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface BillMapper {
    Bill getBillByAccountId(Long accountId);

    void addBillByAccountId(Bill bill);

    BigDecimal getMonthlyLimit(Long accountId);

    void setBalanceByAccountId(Bill bill);
}
